package com.xian.im.modules.avchat.storage;

import com.xian.im.common.proto.MsgRequest;

/**
 * @program: xian-code
 * @description:
 * @author: liru.xian
 * @create: 2021-01-21 15:45
 **/
public interface MessageStorage {

    /**
     *
     * @param message
     * @return
     */
    Boolean save(MsgRequest message);

    /**
     *
     * @param message
     * @return
     */
    Boolean del(MsgRequest message);

    /**
     *  当前存储类型是否匹配
     * @param
     * @return
     */
    String match();
}
